using System;
using Microsoft.Practices.EnterpriseLibrary.Configuration.Design;
using YB.EnterpriseLibrary.XSLTManager.Configuration.Design.Properties;
using YB.EnterpriseLibrary.XSLTManager.Configuration;

namespace YB.EnterpriseLibrary.XSLTManager.Configuration.Design
{
    class XSLTNodeMapRegistrar : NodeMapRegistrar
    {
        public XSLTNodeMapRegistrar(IServiceProvider serviceProvider)
			: base(serviceProvider)
        {

        }

        public override void Register()
        {
            AddSingleNodeMap(Resources.XSLTManagerUICommandText,
                typeof(XSLTManagerSettingsNode),
                typeof(XSLTManagerSettings));
        }
    }
}
